package shilihua;
public class Computer {
        private String cpu;
        private int ram;
        private int storage;

        public Computer(String cpu, int ram, int storage) {
            this.cpu = cpu;
            this.ram = ram;
            this.storage = storage;
        }

        @Override
        public String toString() {
            return "CPU: " + cpu + ", RAM: " + ram + "GB, Storage: " + storage + "GB";
        }
    }